/* This file is part of Gwt--Calendar.
 * Copyright (C) 2011 Vertix Technologies, ltd.
 *
 * Gwt--Calendar is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Gwt--Calendar is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Gwt--Calendar.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.vertixtech.gwt.gwtcalendar.server.domain;

import java.util.Date;

/**
 * A model that represents an event.
 * 
 * @author Asaf Shakarchi
 */
public class Event {
	private String title;
	private String description;
	private Date start;
	private Date end;
	private String timezone;
	private Boolean allDay;
	// TODO: private Repeat repeat;
	private String location;
	private Calendar calendar;
	private String color;
	private GuestsPermissions guestsPermissions;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public String getTimezone() {
		return timezone;
	}

	public void setTimezone(String timezone) {
		this.timezone = timezone;
	}

	public Boolean getAllDay() {
		return allDay;
	}

	public void setAllDay(Boolean allDay) {
		this.allDay = allDay;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Calendar getCalendar() {
		return calendar;
	}

	public void setCalendar(Calendar calendar) {
		this.calendar = calendar;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public GuestsPermissions getGuestsPermissions() {
		return guestsPermissions;
	}

	public void setGuestsPermissions(GuestsPermissions guestsPermissions) {
		this.guestsPermissions = guestsPermissions;
	}
}
